<?php
/**
 * 后台首页
 *
 * @author      jinzhanyou
 * @version     1.0
 */

namespace App\Http\Controllers\Admin;

use App\Http\Controllers\Controller;

class IndexController extends Controller
{
    /**
     * 后台布局
     * @return \Illuminate\Contracts\View\Factory|\Illuminate\View\View
     */
    public function layout()
    {
        return view('admin.layout')->with('username', \Auth::user()->name);
    }
}